<template>
  <div id="app">
    <!-- 全局头部导航 -->
    <Header />
    
    <!-- 路由视图容器 -->
    <router-view />
    
    <!-- 全局页脚 -->
    <Footer />
  </div>
</template>

<script>
import Header from './components/Header.vue'
import Footer from './components/Footer.vue'

export default {
  name: 'App',
  components: {
    Header,
    Footer
  }
}
</script>

<style>
/* 导入全局样式 */
@import './assets/global.css';

/* 确保所有组件都能使用全局样式 */
#app {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
</style>
